package cn.com.xuxiaowei.mapper;

import cn.com.xuxiaowei.annotation.DataSource;
import cn.com.xuxiaowei.model.User;

import java.util.List;

/**
 * @author xuxiaowei
 */
public interface UserMapper {

	List<User> findAll();

	@DataSource("master")
	List<User> findAll4master();

	@DataSource("db-a")
	List<User> findAll4a();

	@DataSource("db-b")
	List<User> findAll4b();

	@DataSource("db-c")
	List<User> findAll4c();

	@DataSource("db-mmmmmmmmmmmmmmmmmmmm")
	List<User> findAll4mmmmmmmmmmmmmmmmmmmm();

}
